package cn.tedu.charging.user.warm;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class RedisWarmUp implements ApplicationRunner {
//    @Autowired
//    private RedisTemplate redisTemplate;
//    @Autowired
//    private StationRepository stationRepository;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        log.info("当前程序启动完毕，可以执行初始化的缓存预热方法");
    }
}
